package com.neulogistics.contrib.procuredcenter.domain.model.aggregate;

import com.neulogistics.infrastructure.ddd.domain.seedwork.Entity;
import com.neulogistics.infrastructure.ddd.domain.seedwork.IAggregateRoot;
import lombok.Data;

@Data
public class GoodsSet extends Entity<Integer> implements IAggregateRoot {
    /**
     * id
     */
    private Integer setId;

    /**
     * 一级分类id
     */
    private Integer listId;

    /**
     * 二级分类名
     */
    private String setName;

    /**
     * 二级分类描述
     */
    private String setDescription;

    /**
     * 是否删除
     */
    private Integer deleted;

    public GoodsSet() {
    }

    public GoodsSet(Integer listId, String setName, String setDescription) {
        this.listId = listId;
        this.setName = setName;
        this.setDescription = setDescription;
    }
}
